//
//  LSResPackSaveManager.m
//  听说弱点强化训练
//
//  Created by 盛超 on 2018/9/10.
//  Copyright © 2018年 盛超. All rights reserved.
//

#import "LSResPackSaveManager.h"

@implementation LSResPackSaveManager

- (void)requestSaveResPackWithCompltionSuccess:(void (^)(NSString *))success failuer:(void (^)(NSString *))failure {
    self.requestUrl = @"api/ZXYYTS/W_ZXYYTS_SaveTSQue";
    
    [self requestPostMethodWithSuccess:^(id responseObject) {
        NSDictionary *dict = [NSJSONSerialization JSONObjectWithData:responseObject options:NSJSONReadingAllowFragments error:nil];
        NSLog(@"保存成功success:%@",dict);
        success(@"success");
        
    } Failure:^(NSError *error) {
        
        failure(error.localizedDescription);
        
    }];
    
}

@end
